<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: manifest.php 2011-03-09 08:45:41Z idris $
 * @author     Idris
 */

/**
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 */

return array ('package' => array ('type' => 'module', 'name' => 'vote', 'version' => '4.1.1', 'path' => 'application/modules/Vote', 'title' => 'Vote', 'description' => 'Vote Plugin', 'author' => 'KEENONWEB LLC', 'meta' => array ('title' => 'Vote', 'description' => 'Vote Plugin', 'author' => 'KEENONWEB LLC' ), 'dependencies' => array (array ('type' => 'module', 'name' => 'core', 'minVersion' => '4.1.1' ), array ('type' => 'module', 'name' => 'kowcore', 'minVersion' => '4.1.2' ) ), 'callback' => array ('path' => 'application/modules/Vote/settings/install.php', 'class' => 'Vote_Installer' ), 'actions' => array (0 => 'install', 1 => 'upgrade', 2 => 'refresh', 3 => 'enable', 4 => 'disable' ), 'directories' => array (0 => 'application/modules/Vote' ), 'files' => array (0 => 'application/languages/en/vote.csv' ) ), 'hooks' => array (array ('event' => 'onRenderLayoutDefault', 'resource' => 'Vote_Plugin_Core' ), array ('event' => 'onUserDeleteBefore', 'resource' => 'Vote_Plugin_Core' ), array ('event' => 'onStatistics', 'resource' => 'Vote_Plugin_Core' ) ), 'items' => array ('vote_challenge', 'vote_participant' ), // Routes --------------------------------------------------------------------
'routes' => array ('vote_general' => array ('route' => 'votes/:controller/:action/*', 'defaults' => array ('module' => 'vote', 'controller' => 'index', 'action' => 'index' ) ), 'vote_profile' => array ('route' => 'vote/:id/*', 'defaults' => array ('module' => 'vote', 'controller' => 'profile', 'action' => 'index', 'id' => '' ) ), 'vote_ajax' => array ('route' => 'votes-ajax/:action/*', 'defaults' => array ('module' => 'contest', 'controller' => 'ajax', 'action' => 'index' ) ) ) );